

        <g:set var="entityName" value="${message(code: 'leave.label', default: 'Leave')}" />
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: leaveInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.school.label" default="School" /></td>
                            
                            <td valign="top" class="value"><g:link controller="school" action="show" id="${leaveInstance?.school?.id}">${leaveInstance?.school?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.teacher.label" default="Teacher" /></td>
                            
                            <td valign="top" class="value"><g:link controller="teacher" action="show" id="${leaveInstance?.teacher?.id}">${leaveInstance?.teacher?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.startTime.label" default="Start Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${leaveInstance?.startTime}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.endTime.label" default="End Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${leaveInstance?.endTime}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.approver.label" default="Approver" /></td>
                            
                            <td valign="top" class="value"><g:link controller="teacher" action="show" id="${leaveInstance?.approver?.id}">${leaveInstance?.approver?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.reason.label" default="Reason" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: leaveInstance, field: "reason")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.pass.label" default="Pass" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${leaveInstance?.pass}" /></td>
                            
                        </tr>
                    
                      <tr class="prop">
                            <td valign="top" class="name"><g:message code="leave.deny.label" default="Pass" /></td>
                            
                            <td valign="top" class="value">${leaveInstance?.deny}</td>
                            
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="buttons">
              
            </div>
